package com.mdd.common.mapper.staff;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.dto.StaffDto;
import com.mdd.common.dto.result.StaffResultDto;
import com.mdd.common.entity.staff.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 师傅Mapper
 */
@Mapper
public interface StaffMapper extends IBaseMapper<Staff> {

    Page<StaffResultDto> page(Page page, @Param("form") StaffDto form);

    Page<StaffResultDto> water(Page page ,@Param("form") StaffDto staffDto);
}
